package com.zengqingfa.springboot.thymeleaf.demo.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.LocaleResolver;


@Configuration
public class WebConfig {

    @Bean
    public LocaleResolver localeResolver() {
        return  new MLocaleResolver();
    }

}
